.class public Lcom/burstly/lib/util/calendar/CalendarEventsHandler;
.super Ljava/lang/Object;
.source "CalendarEventsHandler.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/burstly/lib/util/calendar/CalendarEventsHandler$IEventsHandlerCallback;
    }
.end annotation


# instance fields
.field private final mHandler:Lcom/burstly/lib/util/calendar/AbstractCalendarEventsHandler;


# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/burstly/lib/util/calendar/CalendarEventsHandler$IEventsHandlerCallback;)V
    .locals 2
    .parameter "context"
    .parameter "callback"

    .prologue
    .line 60
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 61
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0xe

    if-lt v0, v1, :cond_0

    .line 62
    new-instance v0, Lcom/burstly/lib/util/calendar/CalendarEventsHandlerHigherApi14;

    invoke-direct {v0, p1, p2}, Lcom/burstly/lib/util/calendar/CalendarEventsHandlerHigherApi14;-><init>(Landroid/content/Context;Lcom/burstly/lib/util/calendar/CalendarEventsHandler$IEventsHandlerCallback;)V

    iput-object v0, p0, Lcom/burstly/lib/util/calendar/CalendarEventsHandler;->mHandler:Lcom/burstly/lib/util/calendar/AbstractCalendarEventsHandler;

    .line 66
    :goto_0
    return-void

    .line 64
    :cond_0
    new-instance v0, Lcom/burstly/lib/util/calendar/CalendarEventsHandlerLowerApi14;

    invoke-direct {v0, p1, p2}, Lcom/burstly/lib/util/calendar/CalendarEventsHandlerLowerApi14;-><init>(Landroid/content/Context;Lcom/burstly/lib/util/calendar/CalendarEventsHandler$IEventsHandlerCallback;)V

    iput-object v0, p0, Lcom/burstly/lib/util/calendar/CalendarEventsHandler;->mHandler:Lcom/burstly/lib/util/calendar/AbstractCalendarEventsHandler;

    goto :goto_0
.end method


# virtual methods
.method public scheduleEvent(Lcom/burstly/lib/util/calendar/CalendarEvent;)V
    .locals 1
    .parameter "event"

    .prologue
    .line 72
    iget-object v0, p0, Lcom/burstly/lib/util/calendar/CalendarEventsHandler;->mHandler:Lcom/burstly/lib/util/calendar/AbstractCalendarEventsHandler;

    invoke-virtual {v0, p1}, Lcom/burstly/lib/util/calendar/AbstractCalendarEventsHandler;->scheduleEvent(Lcom/burstly/lib/util/calendar/CalendarEvent;)V

    .line 73
    return-void
.end method
